﻿using System.Collections.ObjectModel;
using WpfMvvmTemplatePrismHC.Models.EntityModels;
namespace WpfMvvmTemplatePrismHC.Models.BindingModels
{
    public class MainWindowModel : BindableBase
    {
        private string title = "Prism Application";

        public string Title
        {
            get { return title; }
            set { SetProperty(ref title, value); }
        }

        private ObservableCollection<MenuBar>? menusColl;

        public ObservableCollection<MenuBar>? MenusColl
        {
            get { return menusColl; }
            set { SetProperty(ref menusColl, value); }
        }

        public MainWindowModel()
        {
            MenusColl =
            [
                new MenuBar() { Name = "ViewA" },
                new MenuBar() { Name = "ViewB" },
                new MenuBar() { Name = "ViewC" },
                new MenuBar() { Name = "ViewD" },
                new MenuBar() { Name = "ViewE" },
                new MenuBar() { Name = "ViewF" },
            ];
        }
    }
}